
<table cellpadding="0px" cellspacing="0" width="100%">

	<tr>
		<td id='content-header-left' style="text-align: center" height='29px'>Gallery</td>
		<td id='content-header-center' style="text-align: center"><?=ucfirst(trim_name($categeoryname,35))?> Gallery</td>
		<td id='content-header-right'></td>

	</tr>
	
	<tr>
	
		<td colspan='3' align='center'><img
			src="<?=base_url ();?>assets/gallery/image<?=$id?>.jpg" style="padding:3px 0px 3px 0px;" /></td>
	</tr>
	<tr>
	<td>
	</td>
	<td align='center'>
	<div id='pagination'>
	<?if(!empty($links)){?>
	
	<?if(!empty($links['first'])){?>
	<a href="<?=base_url();?>gallery/galleryview/<?=$links['first']?>/<?=$catid?>" style="color:blue">First</a>
	<?}if(!empty($links['prev'])){?>
	<a href="<?=base_url();?>gallery/galleryview/<?=$links['prev']?>/<?=$catid?>" style="color:blue">Previous</a>
	<?} ?>
	<?if(!empty($links['next'])){?>
	<a href="<?=base_url();?>gallery/galleryview/<?=$links['next']?>/<?=$catid?>" style="color:blue">Next</a>
	<?} ?>
	<?if(!empty($links['last'])){?>
	<a href="<?=base_url();?>gallery/galleryview/<?=$links['last']?>/<?=$catid?>" style="color:blue">Last</a>
	<?}}?>
	</div>
	</td>
	<td>
	</td>
</table>